//
//  CatListService.h
//  HongYanNews
//
//  Created by 123 on 14-7-16.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CatPageInfo.h"

@protocol CatListServiceDelegate <NSObject>

- (void)didRecieveData;

- (void)didRecieveMsg;

@end

@interface CatListService : NSObject<ASIHTTPRequestDelegate>

@property (nonatomic,strong) CatPageInfo *pageInfo;
@property (nonatomic,assign) BOOL isQuery;

@property (nonatomic,weak) id<CatListServiceDelegate> delegate;


@property (nonatomic, assign) NSInteger selectedIndex;


// 加载数据
- (void)pageQueryWithSelectedIndex:(NSInteger)selectedIndex;

// 取消网络访问
- (void)cancelRequest;

@end
